//
//  XXmessages.m
//  QQ聊天
//
//  Created by 宋 on 16/3/11.
//  Copyright © 2016年 宋. All rights reserved.
//

#import "XXmessages.h"

@implementation XXmessages
//实例方法
-(instancetype)initWithDcit:(NSDictionary *)dict{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}


//类方法
+(instancetype)messagesWithDcit:(NSDictionary *)dict{
    return [[self alloc]initWithDcit:dict];
}

@end
